send_dns_request(const char* dns_name)
{// addr = 0x0804E10E
    unsigned char[255] request;
    unsigned char* ptr;
    unsigned char[127] question;
    int question_len;
    short* _v12;
    char _v268;
    char _v396;
    intOrPtr _v400;
    intOrPtr _v424;
    struct sockaddr_in* _v428;
    intOrPtr _v432;
    intOrPtr _v436;
    _unknown_ _v440;
    _unknown_ r1;
    _unknown_ r6;
    intOrPtr _t45;
    intOrPtr _t46;
    intOrPtr _t47;
    _unknown_ _t54;
    _unknown_ _t59;

    _v12 =  &_v268;
    generate_question(dns_name,  &_v396,  &_v400);
     *__esp = 65280;
    _t45 = L08075240(__esp);
     *_v12 = _t45;
    _v12 = _v12 + 2;
     *__esp = 256;
    _t46 = L08075240(__esp);
     *_v12 = _t46;
    _v12 = _v12 + 2;
     *__esp = 1;
    _t47 = L08075240(__esp);
     *_v12 = _t47;
    _v12 = _v12 + 2;
     *_v12 = 0;
    _v12 = _v12 + 2;
     *_v12 = 0;
    _v12 = _v12 + 2;
     *_v12 = 0;
    _v12 = _v12 + 2;
    L0806F9E0(__edi, __esi, _v12,  &_v396, _v400);
    _v12 = _v12 + _v400;
    _v424 = 16;
    _v428 =  &dest;
    _v432 = 0;
    _v436 = _v400 + 12;
    L08052C20(__esi, socketfd,  &_v268);
    return;
}